﻿using System.Globalization;
using AutoMapper;
using Volo.Abp.AutoMapper;

namespace YunxSoft.Abp.LanguageManagement;

public class LanguageManagementApplicationAutoMapperProfile : Profile
{
    public LanguageManagementApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<Language, LanguageDto>().MapExtraProperties().Ignore(x => x.IsDefaultLanguage);
    }
}
